package com.metaboot.demo.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.metaboot.common.annotation.Excel;
import com.metaboot.common.core.domain.TreeEntityPlus;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 树表演示对象 t_demo_tree
 * 
 * @author theodo
 * @date 2021-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_demo_tree")
@ApiModel("树表演示对象")
public class DemoTree extends TreeEntityPlus {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id")
    @ApiModelProperty(value = "主键")
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    @ApiModelProperty(value = "状态")
    private String status;

    /** 删除标志 */
    private Long delFlag;
    
    /**
	 * 备注
	 */
    @ApiModelProperty(value = "备注")
    private String remark;
}
